home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tulip
/
Tulip CD-ROM (The MCD Group).bin
/
go.bat
< prev
next >
Wrap
DOS Batch File
|
1994-04-01
|
6KB
|
137 lines
@ECHO OFF
ECHO OFF
CLS
IF (%1)==() GOTO ERROR
IF (%2)==() GOTO ERROR
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ INSTALLATION │
ECHO ├──────────────────────────────────────────────────────────┤
ECHO │ │
ECHO │ The CD-ROM drive is %1 and the target drive │
ECHO │ is %2. (If this is not correct please press │
ECHO │ 'n' in answer of the question below.) │
ECHO │ │
ECHO │ CD-ROM Drive: %1 Install To: %2 │
ECHO │ │
ECHO │ EXAMPLE - GO D: C: │
ECHO │ ( Make sure your type the : ) │
ECHO │ │
ECHO │ The Example installs from a CD-ROM drive of D: to │
ECHO │ a local C: drive. │
ECHO │ │
ECHO │ A sub-directory named VPIC will be created on │
ECHO │ drive %2. The VPIC program files will then be │
ECHO │ copied to the VPIC sub-directory. │
ECHO │ │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
GETK Is the above information correct? (Y/N)
if not errorlevel 1 goto ERROR
echo
echo Installing VPIC Program...
%2
CD \
MD \VPIC
CD \VPIC
COPY %1\VIEWERS\VPIC61 %2\VPIC
CLS
WHICHVGA
ECHO
ECHO.
PAUSE
CONFIG
GOTO DONE
:dfull
CLS
ECHO.
ECHO.
ECHO
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ !!! AN ERROR HAS OCCURRED DURING INSTALLATION !!! │
ECHO. │ │
ECHO │ Please make sure that you have specified a Hard Disk │
ECHO │ as the destination and there is at least 400,000 bytes │
ECHO │ free space. │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ECHO.
GOTO END
:ERROR
ECHO.
ECHO.
ECHO.
ECHO.
ECHO
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO. │ INCORRECT USAGE! │
ECHO │ │
ECHO │ EXAMPLE: ┌───── CD-ROM DRIVE: │
ECHO │ GO D: C: │
ECHO │ └───DESTINATION DRIVE: │
ECHO │ │
ECHO │ ( Make sure you type the : ) │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ECHO.
ECHO.
ECHO.
GOTO END
:Done
CLS
ECHO.
ECHO.
ECHO ┌────────────────────────────────────────────────────────────┐
ECHO │ Installation complete! │
ECHO │ A few tips to run VPIC : │
ECHO │ Use (ALT-F9) key to change the drive and directory │
ECHO │ Use (D) key to select D: drive │
ECHO │ Use (ALT-S) key to rescan D drive │
ECHO │ Use (ARROW) key to select desired directory and (ENTER) │
ECHO │ │
ECHO │ A. To view a file: │
ECHO │ Use (ARROW) key to select a desired file │
ECHO │ Use (ENTER) key to view a file │
ECHO │ │
ECHO │ B. To do a slideshow: │
ECHO │ Use (ALT-T) or (SPACE) key to tag file(s) │
ECHO │ Use (F2) key to do the slideshow │
ECHO │ │
ECHO │ For more information, please check vpic.doc file! │
ECHO │ ENJOY! │
ECHO └────────────────────────────────────────────────────────────┘
CLS
ECHO.
ECHO.
ECHO ┌────────────────────────────────────────────────────────────┐
ECHO │ Installation complete! │
ECHO │ A few tips to run VPIC : │
ECHO │ Use (ALT-F9) key to change the drive and directory │
ECHO │ Use (D) key to select D: drive │
ECHO │ Use (ALT-S) key to rescan D drive │
ECHO │ Use (ARROW) key to select desired directory and (ENTER) │
ECHO │ │
ECHO │ A. To view a file: │
ECHO │ Use (ARROW) key to select a desired file │
ECHO │ Use (ENTER) key to view a file │
ECHO │ │
ECHO │ B. To do a slideshow: │
ECHO │ Use (ALT-T) or (SPACE) key to tag file(s) │
ECHO │ Use (F2) key to do the slideshow │
ECHO │ │
ECHO │ For more information, please check vpic.doc file! │
ECHO │ ENJOY! │
ECHO └────────────────────────────────────────────────────────────┘
ECHO.
ECHO.
ECHO.
PAUSE
VPIC /A
CLS
ECHO.
ECHO.
ECHO IF YOU NEED INSTRUCTIONS, TYPE "HELP".
:END